Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing overriding the crate type of libraries. #557

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

jschwe
Copy link
Collaborator

@jschwe jschwe commented Sep 5, 2024

Requested in #532.

jschwe and others added 3 commits September 5, 2024 19:38
Add a new parameter OVERRIDE_CRATE_TYPE to
corrosion_import_crate().
This allows forcing libraries to be compiled
as staticlibs or cdylibs.

Co-authored-by: TriceHelix <trice.helix@gmail.com>
@jschwe jschwe force-pushed the jschwender/override_crate_types branch from 9fa317d to 950d1bf Compare September 5, 2024 17:51
@jschwe jschwe merged commit 3d7c4b2 into corrosion-rs:master Sep 5, 2024
38 checks passed
@jschwe jschwe deleted the jschwender/override_crate_types branch September 5, 2024 18:06
@TriceHelix
Copy link
Contributor

Perfect, just what I had hoped for!
Thanks again, and good luck with future development.

@jschwe jschwe linked an issue Sep 7, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cargo rustc --crate-type support
2 participants